<?php if($gid > 0 && $gid < 5) { ?>
<li>
    <div class="btn-group" role="group">
        <!--{hook thread_list_mod_delete_before.htm}-->
        <btn class="btn btn--icon delete" title="<?php echo lang('delete');?>" data-modal-url="<?php echo url("mod-delete");?>" data-modal-title="<?php echo lang('delete');?>" data-modal-arg=".threadlist" data-modal-size="md" data-toggle="tooltip">
            <i class="icon fa fa-fw fa-trash-o btn-icon"></i>
        </btn>
        <!--{hook thread_list_mod_delete_after.htm}-->
        <btn class="btn btn--icon move" title="<?php echo lang('move');?>" data-modal-url="<?php echo url("mod-move");?>" data-modal-title="<?php echo lang('move');?>" data-modal-arg=".threadlist" data-modal-size="md" data-toggle="tooltip">
            <i class="icon fa fa-fw fa-exchange btn-icon"></i>
        </btn>
        <!--{hook thread_list_mod_top_before.htm}-->
        <btn class="btn btn--icon top" title="<?php echo lang('top');?>" data-modal-url="<?php echo url("mod-top");?>" data-modal-title="<?php echo lang('top');?>" data-modal-arg=".threadlist" data-modal-size="md" data-toggle="tooltip">
            <i class="icon fa fa-fw fa-thumb-tack btn-icon"></i>
        </btn>
        <!--{hook thread_list_mod_top_after.htm}-->
        <btn class="btn btn--icon _close" title="<?php echo lang('close');?>" data-modal-url="<?php echo url("mod-close");?>" data-modal-title="<?php echo lang('close');?>" data-modal-arg=".threadlist" data-modal-size="md" data-toggle="tooltip">
            <i class="icon fa fa-fw fa-lock btn-icon"></i>
        </btn>
        <!--{hook thread_list_mod_close_after.htm}-->
        <?php if(param(0) != 'thread') { ?>
        <label class="btn btn--icon" title="<?php echo lang('checkall');?>" data-toggle="tooltip">
            <input type="checkbox" data-target='input[name="modtid"]' class="checkall d-none" value="" aria-label="<?php echo lang('checkall');?>">
            <i class="icon fa fa-fw fa-check-square btn-icon"></i>
        </label>
        <?php } ?>
    </div>
</li>
<?php } ?>